// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch.Cluster
{
	public sealed partial class ClusterIndices
	{
		[JsonInclude]
		[JsonPropertyName("analysis")]
		public Elastic.Clients.Elasticsearch.Cluster.CharFilterTypes Analysis { get; init; }

		[JsonInclude]
		[JsonPropertyName("completion")]
		public Elastic.Clients.Elasticsearch.CompletionStats Completion { get; init; }

		[JsonInclude]
		[JsonPropertyName("count")]
		public long Count { get; init; }

		[JsonInclude]
		[JsonPropertyName("docs")]
		public Elastic.Clients.Elasticsearch.DocStats Docs { get; init; }

		[JsonInclude]
		[JsonPropertyName("fielddata")]
		public Elastic.Clients.Elasticsearch.FielddataStats Fielddata { get; init; }

		[JsonInclude]
		[JsonPropertyName("mappings")]
		public Elastic.Clients.Elasticsearch.Cluster.FieldTypesMappings Mappings { get; init; }

		[JsonInclude]
		[JsonPropertyName("query_cache")]
		public Elastic.Clients.Elasticsearch.QueryCacheStats QueryCache { get; init; }

		[JsonInclude]
		[JsonPropertyName("segments")]
		public Elastic.Clients.Elasticsearch.SegmentsStats Segments { get; init; }

		[JsonInclude]
		[JsonPropertyName("shards")]
		public Elastic.Clients.Elasticsearch.Cluster.ClusterIndicesShards Shards { get; init; }

		[JsonInclude]
		[JsonPropertyName("store")]
		public Elastic.Clients.Elasticsearch.StoreStats Store { get; init; }

		[JsonInclude]
		[JsonPropertyName("versions")]
		public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Cluster.IndicesVersions>? Versions { get; init; }
	}
}